import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {PaperAutoAddComponent} from "./autoAdd/paper-autoAdd.component";
import {PaperHandAddComponent} from "./handAdd/paper-handAdd.component";
import {PaperListComponent} from "./paper-list.component";


const paperRoutes: Routes = [{
  path: 'paperAutoAdd',
  component: PaperAutoAddComponent
},{
  path: 'paperHandAdd',
  component: PaperHandAddComponent
},
  {
    path: 'paperList',
    component: PaperListComponent
  }];

@NgModule({
  imports: [
    RouterModule.forChild(paperRoutes)
  ],
  exports: [
    RouterModule
  ]
})

export class PaperRoutingModule { }
